setResultsSource

open fun setResultsSource(@NonNull intent: Intent, source: Int)(source)

Set the source of the RemoteInput results. This method should only be called by remote input collection services (e.g. android.service.notification.NotificationListenerService) when sending results to a pending intent.

Parameters

intent

The intent to add remote input source to. The ClipData field of the intent will be modified to contain the source.

source

The source of the results.

See also